package org.yn.car.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;

import org.yn.base.domain.BaseDomain;


import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 
 * </p>
 *
 * @author yn
 * @since 2023-08-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CarType extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String icon;
    /**
     * 排序用
     */
    private Integer index;
    private String description;
    /**
     * 父类型id
     */
    private Long pid;

    private List<CarType> children=new LinkedList<>();


}
